Using Scratchpad Memory for Stack Data in Hard Real-Time Embedded Systems
نویسنده
چکیده
This paper proposes a scratchpad memory allocation technique for stack data to achieve predictability for hard real-time embedded systems. First, we suggest a profiling-based source code modification technique to make the whole stack area fit in the given scratchpad memory size. Furthermore, even though the whole stack area cannot fit in the scratchpad memory size, we propose another scratchpad memory allocation to achieve predictability when an end-toend measurement-based WCET analysis is used. Lastly, we compared performance of our design with data caches. Keywords-hard real-time systems; embedded systems; scratchpad memory; predictability;
منابع مشابه
WCET-Aware Scratchpad Memory Management for Hard Real-Time Systems
Cyber-physical systems and hard real-time systems have strict timing constraints that specify deadlines until which tasks must finish their execution. Missing a deadline can cause unexpected outcome or endanger human lives in safety-critical applications, such as automotive or aeronautical systems. It is, therefore, of utmost importance to obtain and optimize a safe upper bound of each task’s e...
متن کاملThe Scratchpad Memory Management Unit for Microblaze: Implementation, Testing, and Case Study1
This report proposes the scratchpad memory management unit (SMMU) to act as a perfect data cache for a known subset of the data used by a program. This enables the execution time for each load or store operation in the program to be precisely determined. The SMMU must be explicitly controlled by the program, which commands the addition and removal of objects from the SMMU and its associated scr...
متن کاملAnalysable instruction memories for hard real-time systems
In safety-critical embedded real-time systems the timing behaviour is of highest importance, because applications underlie timing constraints that have to be met. Otherwise the system might fail causing harm to humans, the environment, or the system itself. Therefore, such hard real-time systems have to provide timing guarantees. Since the timing behaviour of the system does not only depend on ...
متن کاملInfluence of Onchip Scratchpad Memories on WCET prediction
In contrast to standard PCs and many high-performance computer systems, systems that have to meet real-time requirements usually do not feature caches, since caches primarily improve the average case performance, whereas their impact on WCET is generally hard to predict. Especially in embedded systems, scratchpad memories have become popular. Since these small, fast memories can be controlled b...
متن کاملApplication-Speci c Memory Management for Embedded Systems Using Software-Controlled Caches
We propose a way to improve the performance of embedded processors running data-intensive applications by allowing software to allocate on-chip memory on an application-speciic basis. On-chip memory in the form of cache can be made to act like scratchpad memory via a novel hardware mechanism, which we call column caching. Column caching enables dynamic cache partitioning in software, by mapping...
متن کامل